import http from "@/request/request";

export default function () {
  return {
    // 获取用户信息
    getUserInfo: (data) => {
      return http.post("/login", data);
    },
  };
}
